﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Competence.aspx.cs" Inherits="PCCS.Management.AdminManage.Competence" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
    <style type="text/css">
        body
        {
            margin-left: 0px;
            margin-top: 0px;
            margin-right: 0px;
            margin-bottom: 0px;
            font-size: 12px;
            font-family: Arial;
            background-color: #EEF2FB;
        }
    </style>
    <link href="../images/skin.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" language="javascript">
        function CheckAll(form) {
            var box = document.getElementById("box").getElementsByTagName("input")
            for (var i = 0; i < box.length; i++) {
                var e = box[i];
                if (e.Name != 'chkAll' && e.disabled == false)
                    e.checked = form.chkAll.checked;
            }
        }
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <div id="box">
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td width="17" valign="top" style="background: url(../images/mail_leftbg.gif)">
                    <img alt="" src="../images/left-top-right.gif" width="17" height="29" />
                </td>
                <td valign="top" style="background: url(../images/content-bg.gif)">
                    <table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg"
                        id="table2">
                        <tr>
                            <td height="31">
                                <div class="titlebt">
                                    &nbsp;&nbsp;权限管理</div>
                            </td>
                        </tr>
                    </table>
                </td>
                <td width="16" valign="top" style="background: url(../images/mail_rightbg.gif)">
                    <img alt="" src="../images/nav-right-bg.gif" width="16" height="29" />
                </td>
            </tr>
            <tr>
                <td valign="middle" style="background: url(../images/mail_leftbg.gif)">
                    &nbsp;
                </td>
                <td valign="top" bgcolor="#F7F8F9">
                    <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
                        <tr>
                            <td>
                                <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
                                    <tr>
                                        <td class="left_txt">
                                            当前位置：管理员&nbsp;>&nbsp;权限管理
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="20">
                                            <table width="100%" height="1" border="0" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC">
                                                <tr>
                                                    <td>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <table width="100%" height="55" border="0" cellpadding="0" cellspacing="0">
                                                <tr>
                                                    <td width="10%" height="55" valign="middle">
                                                        <img alt="" src="../images/title.gif" width="54" height="55" />
                                                    </td>
                                                    <td width="90%" valign="top">
                                                        <span class="left_txt2">在这里，您可以根据您的要求，找到相应的</span><span class="left_txt3">管理员</span><span
                                                            class="left_txt2">。</span><br />
                                                        <span class="left_txt2">点击</span><span class="left_txt3">可修改其管理的权限</span><span class="left_txt2">。</span>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="nowtable">
                                                <tr>
                                                    <td class="left_bt2">
                                                        &nbsp;&nbsp;&nbsp;&nbsp;权限管理
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:GridView ID="gvAdmin" runat="server" AutoGenerateColumns="False" Width="100%"
                                                CellPadding="4" ForeColor="#333333" GridLines="None">
                                                <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                                <RowStyle BackColor="#EFF3FB" />
                                                <Columns>
                                                    <asp:BoundField DataField="AdminID" HeaderText="ID" SortExpression="AdminID" />
                                                    <asp:BoundField DataField="AdminName" HeaderText="管理员帐号" SortExpression="AdminName" />
                                                    <asp:BoundField DataField="AdminDesc" HeaderText="描述" SortExpression="AdminDesc" />
                                                    <asp:TemplateField HeaderText="修改权限">
                                                        <ItemTemplate>
                                                            <a href='<%# "CompetDetail.aspx?id=" + Eval("AdminID") %>'>
                                                                <img alt="修改权限" src="../images/set.gif" /></a>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                </Columns>
                                                <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                                                <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                                                <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                                <EditRowStyle BackColor="#2461BF" />
                                                <AlternatingRowStyle BackColor="White" />
                                                <RowStyle HorizontalAlign="Center" />
                                            </asp:GridView>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </td>
                <td style="background: url(../images/mail_rightbg.gif)">
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td valign="bottom">
                    <img alt="" src="../images/buttom_left2.gif" width="17" height="17" />
                </td>
                <td style="background: url(../images/buttom_bgs.gif)">
                    <img alt="" src="../images/buttom_bgs.gif" width="17" height="17" />
                </td>
                <td valign="bottom">
                    <img alt="" src="../images/buttom_right2.gif" width="16" height="17" />
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
